#include "stdafx.h"
#include "MFC.h"

const char* get_mfc_cmd_name(u32 cmd)
{
	switch (cmd)
	{
	case MFC_PUT_CMD: return "PUT";
	case MFC_PUTB_CMD: return "PUTB";
	case MFC_PUTF_CMD: return "PUTF";
	case MFC_PUTS_CMD: return "PUTS";
	case MFC_PUTBS_CMD: return "PUTBS";
	case MFC_PUTFS_CMD: return "PUTFS";
	case MFC_PUTR_CMD: return "PUTR";
	case MFC_PUTRB_CMD: return "PUTRB";
	case MFC_PUTRF_CMD: return "PUTRF";
	case MFC_GET_CMD: return "GET";
	case MFC_GETB_CMD: return "GETB";
	case MFC_GETF_CMD: return "GETF";
	case MFC_GETS_CMD: return "GETS";
	case MFC_GETBS_CMD: return "GETBS";
	case MFC_GETFS_CMD: return "GETFS";
	case MFC_PUTL_CMD: return "PUTL";
	case MFC_PUTLB_CMD: return "PUTLB";
	case MFC_PUTLF_CMD: return "PUTLF";
	case MFC_PUTRL_CMD: return "PUTRL";
	case MFC_PUTRLB_CMD: return "PUTRLB";
	case MFC_PUTRLF_CMD: return "PUTRLF";
	case MFC_GETL_CMD: return "GETL";
	case MFC_GETLB_CMD: return "GETLB";
	case MFC_GETLF_CMD: return "GETLF";

	case MFC_GETLLAR_CMD: return "GETLLAR";
	case MFC_PUTLLC_CMD: return "PUTLLC";
	case MFC_PUTLLUC_CMD: return "PUTLLUC";
	case MFC_PUTQLLUC_CMD: return "PUTQLLUC";

	case MFC_SNDSIG_CMD: return "SNDSIG";
	case MFC_SNDSIGB_CMD: return "SNDSIGB";
	case MFC_SNDSIGF_CMD: return "SNDSIGF";
	case MFC_BARRIER_CMD: return "BARRIER";
	case MFC_EIEIO_CMD: return "EIEIO";
	case MFC_SYNC_CMD: return "SYNC";
	}

	return "UNKNOWN";
}
